import request from '../utils/request.js'
const path = "/teacher.php"

//访问注册借口
export function teacher(data) {
  return request(path + '/index/index', data);
}
export function addclass(data) {
  return request(path + '/index/addclass', data, "POST")
}

export function showstu(data) {
  return request(path + '/show/showstu', data, "POST")

}

export function del(data) {
  return request(path + '/index/del', data, "POST")
}

export function edit(data) {
  return request(path + '/index/editname', data, "POST")
}

export function go_attend(data) {
  return request(path + '/sign/attence', data, "POST")

}
export function finish(data) {
  return request(path + '/sign/finished', data, "POST")
}
export function attend_sign(data) {
  return request(path + '/sign/signdata', data, "POST")

}
export function record(data) {
  return request(path + '/sign/record', data, "post")
}
export function getperson(data) {
  return request(path + '/show/getperson', data, "post")
}